<?xml version='1.0' encoding='utf-8'?>
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="zho">
  <head>
    <meta content="${identifier?xml}" name="dtb:uid"/>
    <meta content="3" name="dtb:depth"/>
    <meta content="${publisher?xml}" name="dtb:generator"/>
    <meta content="0" name="dtb:totalPageCount"/>
    <meta content="0" name="dtb:maxPageNumber"/>
  </head>
  <docTitle>
    <text>${title?xml} [${time?xml}]</text>
  </docTitle>
  <navMap>
    <#assign playOrder = 0>
  	<#list sections as section>
  	  <#if section.paragraphs?size &gt; 0>
        <navPoint class="chapter" id="id${section.id}" playOrder="${playOrder}">
        <#assign playOrder = playOrder + 1>
          <navLabel>
            <text>${section.title?xml}</text>
          </navLabel>
          <content src="${section.storeName}/index_u${section.id}.html"/>
          <#list section.paragraphs as paragraph>
            <navPoint class="chapter" id="id${paragraph.id}" playOrder="${playOrder}">
            <#assign playOrder = playOrder + 1>
              <navLabel>
                <text>${paragraph.title?xml}</text>
              </navLabel>
              <content src="${section.storeName}/${paragraph.storeName}/index_u${paragraph.id}.html"/>
            </navPoint>
          </#list>
        </navPoint>
      </#if>
  	</#list>
  </navMap>
</ncx>
